Generalizing trajectories

Binder IPYNB HTML

To reduce the size of trajectory objects, we can generalize them, for example, using the Douglas-Peucker algorithm:

DouglasPeuckerGeneralizer

Try different tolerance settings and observe the results in line geometry and therefore also length:

MinTimeDeltaGeneralizer

An alternative generalization method is to down-sample the trajectory to ensure a certain time delta between records: